package com.timothy.answer;

import com.timothy.service.MessageSender;

/**
 * This class model the user input for base station selection activity.
 * @author felix
 *
 */
public class BaseStationSelection {
	// selected base station name
	private String baseStationName;
	// inputed password. PC need to authorize
	private String password;
	// username used to mark user 
	private String userName;
	
	public String getBaseStationName() {
		return baseStationName;
	}
	public void setBaseStationName(String baseStationName) {
		this.baseStationName = baseStationName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	public String toMessage(){
		return String.format( MessageSender.Base_Station_Selection, baseStationName, password);
	}
}
